package com.splant.android.smart.ModelLevel;

import com.splant.android.smart.SystemDefinedLevel.LRecyclerview.bean.MultiItemEntity;
import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/7/27.
 */

public class WaterListBean {

    private int succeed;
    private String message;
    private int errorCode;
    private List<Water> WaterList;

    public void setSucceed(int succeed) {
        this.succeed = succeed;
    }

    public int getSucceed() {
        return succeed;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public void setErrorCode(int errorCode)
    {
        this.errorCode=errorCode;
    }

    public int getErrorCode()
    {
        return errorCode;
    }

    public void setWaterList(List<Water> waterList) {
        this.WaterList = waterList;
    }

    public List<Water> getWaterList() {
        return this.WaterList;
    }

    public static class Water implements  MultiItemEntity, Serializable {

        private String waterId;
        private String waterName;
        private int waterState;
        private int[] switchsTime;
        private float electricity;
        private String areaId;
        private String stOnLine;
        private String etOnLine;
        private int signalIntensity;
        private String selectedSwitchs="";
        private List<TimerWater> timerWater;

        private int px;
        private int py;

        private int openCloseFailure;

        public void setWaterId(String waterId) {
            this.waterId = waterId;
        }

        public String getWaterId() {
            return waterId;
        }

        public void setWaterName(String waterName) {
            this.waterName = waterName;
        }

        public String getWaterName() {
            return waterName;
        }

        public void setWaterState(int waterState) {
            this.waterState = waterState;
        }

        public int getWaterState() {
            return waterState;
        }

        public void setSwitchsTime(int[] switchsTime) {
            this.switchsTime = switchsTime;
        }

        public int[] getSwitchsTime() {
            return switchsTime;
        }

        public void setElectricity(float electricity) {
            this.electricity = electricity;
        }

        public float getElectricity() {
            return electricity;
        }

        public void setAreaId(String areaId) {
            this.areaId = areaId;
        }

        public String getAreaId() {
            return areaId;
        }

        public void setStOnLine(String stOnLine) {
            this.stOnLine = stOnLine;
        }

        public String getStOnLine() {
            return stOnLine;
        }

        public void setEtOnLine(String etOnLine) {
            this.etOnLine = etOnLine;
        }

        public String getEtOnLine() {
            return etOnLine;
        }

        public void setSignalIntensity(int signalIntensity) {
            this.signalIntensity = signalIntensity;
        }

        public int getSignalIntensity() {
            return signalIntensity;
        }

        public void setSelectedSwitchs(String selectedSwitchs)
        {
            this.selectedSwitchs=selectedSwitchs;
        }
        public String getSelectedSwitchs()
        {
            return selectedSwitchs;
        }

        public void setTimerWaterList(List<TimerWater>  timerWaterList) {
            this.timerWater =timerWaterList;
        }

        public List<TimerWater>  getTimerWaterList() {
            return timerWater;
        }

        public void setPx(int px)
        {
            this.px=px;
        }

        public int getPx()
        {
            return  this.px;
        }

        public void setPy(int py)
        {
            this.py=py;
        }
        public int getPy()
        {
            return this.py;
        }

        public void setOpenCloseFailure(int openCloseFailure)
        {
           this.openCloseFailure=openCloseFailure;
        }
        public int getOpenCloseFailure()
        {
            return this.openCloseFailure;
        }
        @Override
        public int getItemType() {
            return 0;
        }
    }

}
